"use strict";
initPageFun({ className: '接口的学习' });
class Interface_1 {
    constructor() {
        this.interface_fun = (obj) => {
            const text = `${obj.name}的年龄是${obj.age}`;
            const span = {
                text,
                className: "alignCenter",
                style: {
                    display: 'block'
                }
            };
            writeSpan(span);
        };
        this.interface_fun({ name: 'Tom', age: 18 });
    }
}
new Interface_1();
